Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Introduce assertions for run validation #241

Closed
wants to merge 4 commits into from

Conversation

nadeesha
Copy link
Contributor

@nadeesha nadeesha commented Dec 6, 2024

  • Assertions allow guardrails that cannot be violated by the LLM by providing a function that can inspect the result and throw an error if it's not correct.
  • Additional context can be provided to the assertion function to help it make a better decision.
  • This is undocumented.

@nadeesha nadeesha changed the title feat: Introduce assertions for run validation fix: Introduce assertions for run validation Dec 7, 2024
@nadeesha nadeesha marked this pull request as ready for review December 7, 2024 05:43
@nadeesha nadeesha force-pushed the nadeesha/add-assertions-gugr branch from 0d002a0 to 1ae0144 Compare December 7, 2024 05:44
@nadeesha nadeesha closed this Dec 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant